/********************************************************************
Name: Table A20: Differences in CFScore from Sheriff's Personal
	Political Contributions by Party
Author: Dan Thompson
Date: August 2019
Notes:
********************************************************************/

* Set the working directory 
gl root = "$sanctuary_root"
gl root = "YOUR_WORKING_DIRECTORY"

* Bring in the DIME analysis data
use "$root/data/dime analysis data.dta", clear

* Column 1
reg cfscore dem, robust

* Column 2
xtreg cfscore dem if enough_cands_w_cfscore_in_county==1, fe i(county_id) robust

* Column 3
xtreg cfscore dem if two_cands_w_cfscore==1, fe i(election_id) robust
